import request from './request'

// 获取学生增长数据
export const getStudentGrowthData = async (timeRange = '6months') => {
  return await request.get('/api/stats/student-growth', {
    params: { timeRange }
  })
}

// 获取课程完成率数据
export const getCourseCompletionData = async () => {
  return await request.get('/api/stats/course-completion')
}